<?php

namespace app\common\validate\coupon;

use think\Validate;

class Total extends Validate
{
    	protected $rule = [
            'id' => ['require', 'number'],
            'title' => ['require', 'varchar'],
            'total' => [ 'number']
        ];

        protected $message = [
            'id.require' => 'id未知',
            'title.require' => 'title未知'
        ];

        protected $scene = [
            'profile' => ['id']
        ];
}
